<template>
	<view>
		<web-view v-if="homeurl != ''" :src="homeurl"></web-view>
	</view>
</template>

<script setup>
	import {
		onLoad
	} from '@dcloudio/uni-app'
	import {
		ref
	} from 'vue';
	let homeurl = ref("");
	onLoad((op) => {
		if (op.url != null) {
			let url = decodeURIComponent(op.url)
			url = decodeURIComponent(url)
			homeurl.value = url
			console.log(homeurl.value)
		}
	})
</script>

<style>

</style>